package de.graph.common.impl;

import de.graph.common.Element;
import de.graph.document.Document;
import de.graph.document.DocumentFassade;

abstract class ElementImpl extends DocumentFassade implements Element {

    private static final long serialVersionUID = -3781950944439537007L;

    protected static final String LABEL = "label";

    protected ElementImpl(final Document document) {
        super(document);
    }

    public String getLabel() {
        return getProperty(LABEL, "");
    }
}
